#ifndef PARAM_H_INCLUDED
#define PARAM_H_INCLUDED

#include "log.h"

enum WorkType{W_ImageOne, W_ImagePairs, W_ImageList, W_Video, W_Calibration};

class Config1
{
public:
	static Config1* Instance()
	{
		if (!_param)
			_param = new Config1;
		return _param;
	};

	bool load(const string& filename = string());
	void save(const string& filename) const;
	Config1* default_param();
	
	// Data Param
	WorkType work_type;
	string src;
	string output_src;
	string output_file;
	
private:
	Config1();
	
	static Config1* _param;	
};
#endif // PARAM_H_INCLUDED
